﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SeaBattle.Domain.Entities;

namespace SeaBattle.Domain.Abstract
{
    public interface IPlayerRepository
    {
        Player CreateNewPlayer(string name, string login);
        void SavePlayer(Player player);
        Player GetPlayer(string login);
        Player GetPlayer(int id);
        IEnumerable<Player> GetAllPlayers();
        
    }
}
